<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改内外线交货单')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-ZflWmsDnPostDn-edit" th:object="${zflWmsDnPostDn}">
<!--            <input name="ZEILE" th:field="*{ZEILE}" type="hidden">-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">行项目编号：</label>
                <div class="col-sm-8">
                    <input name="ZEILE" th:field="*{ZEILE}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交货：</label>
                <div class="col-sm-8">
                    <input name="VBELN" th:field="*{VBELN}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交货项目：</label>
                <div class="col-sm-8">
                    <input name="POSNR" th:field="*{POSNR}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物料：</label>
                <div class="col-sm-8">
                    <input name="MATNR" th:field="*{MATNR}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交货数量：</label>
                <div class="col-sm-8">
                    <input name="LFIMG" th:field="*{LFIMG}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">拣配数量：</label>
                <div class="col-sm-8">
                    <input name="PIKMG" th:field="*{PIKMG}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工厂：</label>
                <div class="col-sm-8">
                    <input name="WERKS" th:field="*{WERKS}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">库存地点：</label>
                <div class="col-sm-8">
                    <input name="LGORT" th:field="*{LGORT}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">批次：</label>
                <div class="col-sm-8">
                    <input name="CHARG" th:field="*{CHARG}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位：</label>
                <div class="col-sm-8">
                    <input name="VRKME" th:field="*{VRKME}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">序列号：</label>
                <div class="col-sm-8">
                    <input name="SERNR" th:field="*{SERNR}" class="form-control" type="text"readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">状态：</label>
<!--                <div class="col-sm-8">-->
                    <div class="col-sm-3">
                        <div class="radio-box" th:each="dict : ${@dict.getType('DN_POST_DN_status')}">
                            <input type="radio" th:id="${dict.dictCode}" name="status" th:value="${dict.dictValue}" th:field="*{status}">
                            <label th:for="${dict.dictCode}" th:text="${dict.dictLabel}" style="float: left"></label>
                        </div>
                    </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">错误信息：</label>
                <div class="col-sm-8">
                    <input name="error" th:field="*{error}" class="form-control" type="text" readonly>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "DN_POST_DN/DN_POST_DN";
        $("#form-ZflWmsDnPostDn-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-ZflWmsDnPostDn-edit').serialize());
            }
        }
    </script>
</body>
</html>